﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Newsletter.ascx.cs" 
    Inherits="webapp4U.UI.Control.Newsletter" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register TagPrefix="webapp4U" Namespace="webapp4U.UI" %>

<table width="185" border="0" cellpadding="0" cellspacing="0" class="photo-frame"
    align="center">
    <tr>
        <td class="topx--">
        </td>
        <td class="top-x-">
        </td>
        <td class="top--x">
        </td>
    </tr>
    <tr>
        <td class="midx--">
        </td>
        <td bgcolor="white" style="padding-left: 6px; padding-right: 6px" align="center">
              <table width="100%" border="0" height="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td bgcolor="#f0f0f0" valign="top">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="padding-top: 1px" bgcolor="#ed43b0" align="center" height="22">
                                    <span style="font-weight:bold;color:#ffffff">Newsletter</span>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" height="50px">
                                    <asp:ValidationSummary ValidationGroup="Newsletter" runat="server" ID="valChangePasswordSummary" ShowMessageBox="true" ShowSummary="false" />
                                    <table border="0">
                                        <tr>
                                            <td align="left" style="line-height:18px;"><%=ResourceManager.GetString("Newsletter_EnterEmail") %>:</td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:TextBox ValidationGroup="Newsletter" runat="server" ID="txtEmail" Width="140"/>
                                                <webapp4U:ReqFValid ValidationGroup="Newsletter" SetFocusOnError="true" ControlToValidate="txtEmail" ID="ReqEmail" ResourceName="Register_Email_error" runat="server" Display="none" />
                                                <webapp4U:RegEvalid ValidationGroup="Newsletter" ResourceName="Register_Email_error" SetFocusOnError="true" Display="none" ID="RegEmail" runat="server"
                                                    ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                &nbsp;
                                                <asp:ImageButton ValidationGroup="Newsletter" runat="server" ImageUrl="~/Images/btSearch.gif" ID="btSave" OnClick="btSave_Click" />       
                                            </td>
                                        </tr>
                                        <tr>
                                            <td height="4px"></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
        <td class="mid--x">
        </td>
    </tr>
    <tr>
        <td class="botx--">
        </td>
        <td class="bot-x-">
        </td>
        <td class="bot--x">
        </td>
    </tr>
</table>

